package com.example.service;

import com.example.pojo.Dept;
import org.springframework.stereotype.Service;

import java.text.ParseException;
import java.util.List;

@Service
public interface DeptService {
   public List<Dept> selectAll();

    int deleteById(Integer id) throws ParseException;//删部门

    int addDept(Dept dept);

    Dept selectById(Integer id);

    int updateDept(Dept dept);



}
